package week7.homework;

public class MonctaryCointest
{
    public static void main(String[] args) {
        MonctaryCoin coin1 = new MonctaryCoin();
        MonctaryCoin coin2=new MonctaryCoin();
        MonctaryCoin coin3=new MonctaryCoin();


        System.out.println(coin1);
         System.out.println(coin1.getValue(1)+coin2.getValue(0)+coin3.getValue(2));

    }

}
